from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin
admin.autodiscover()
from s5211163224_W7.app.models import *
from s5211163224_W7.views import *
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 's5211163224_W7.views.home', name='home'),
    # url(r'^s5211163224_W7/', include('s5211163224_W7.foo.urls')),
    ('^$', home),   
    ('^add/$', add),
    ('^showcom/$', show_com),
    ('^report/$', report_com),
    ('^showreport/$', show_report),
    ('^fix/$', fix),
    ('^fixcom/$', fixcom),
    ('^show/$', show),
    ('^showcount/$', count),
                       
    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)
